package cn.school.student.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @className: TExamPublishPaper
 * @author: Alex
 * @date: 2023/4/12
 **/
@Data
@TableName("t_exam_publish tep " +
		"left join t_exam_testpaper tet on tep.test_paper_Id = tet.id " +
		"left join t_exam_correlation tec on tet.id = tec.testpaper_id " +
		"left join t_exam_subject tes on tec.questions_id = tes.id")
public class TExamPublishPaper {
	@TableField(value = "tep.id")
	private Long publishId;
	
	@TableField(value = "tep.test_paper_id")
	private Long testPaperId;
	
	@TableField(value = "tet.testpaper_name")
	private String testPaperName;
	
	@TableField(value = "tet.total_points")
	private String totalPoints;
	
	@TableField(value = "tet.grade")
	private String grade;
	
	@TableField(value = "tes.id")
	private Long questionsId;
	
	@TableField(value = "tes.questions_name")
	private String questionsName;
	
	@TableField(value = "tes.unit")
	private String unit;
	
	@TableField(value = "tes.questions_type")
	private String questionsType;
	
	@TableField(value = "tes.sore")
	private String score;
	
	@TableField(value = "tes.options")
	private String options;
	
	@TableField(value = "tes.analysis")
	private String analysis;
	
}
